package com.isoft.data.dao;

import com.isoft.data.xml.Cfce;
import com.isoft.data.xml.CfceDflt;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CfceDao {
    @Insert("insert into CFCE(SEQN,DDTM,FLID,FFID,FIDE,CFTP,CFNO) " +
            "values(#{cfce.meta.seqn},#{cfce.meta.ddtm},#{cfce.dflt.flid}" +
            ",#{cfce.dflt.ffid},#{cfce.dflt.fide},#{cfce.dflt.cftp},#{cfce.dflt.cfno})")
    void addCfce(@Param("cfce")Cfce cfce);
}
